// 连表查询测试

const operation = require("../index")
const mdb = operation.dbconnect('127.0.0.1','root','b214820417','nodetest')

/*双表查询*/
// operation.datadoubletablequery(数据库对象,表1,表2,表1连接字段,表2连接字段)
// operation.datadoubletablequery(mdb,"users","userscon1","id","userid")
//     .then((res) => {
//         console.log(res);
//     })
//     .catch((err) => {
//         console.error(err);
//     });